/**
 * Copyright(c) by JNet Smartware Group.
 * All rights reserved. Not distribution or redistribution without
 * any permission of JNet Smartware Group.
 * 
 * @author thuc
 * 2010/07/31
 */
package vn.smartware.co.server.sql.factory;

import java.sql.Connection;

import vn.smartware.co.framework.bean.LoginDTO;
import vn.smartware.co.framework.db.factory.SQLManager;
import vn.smartware.co.framework.exception.ServerException;
import vn.smartware.co.framework.form.CommonSearchForm;

/**
 * @author thuctt
 * AbstractCommonSearchSQLManager
 */
public abstract class AbstractCommonSearchSQLManager extends SQLManager {

	/**
	 * get drink list
	 * @param form 
	 * @param user 
	 * @param conn
	 * @throws ServerException
	 */
	abstract public void makeGetDrinkListSQL(CommonSearchForm form, LoginDTO user,
			Connection conn) throws ServerException;
	/**
	 * get food list
	 * @param form 
	 * @param user 
	 * @param conn
	 * @throws ServerException
	 */
	abstract public void makeGetFoodListSQL(CommonSearchForm form, LoginDTO user,
			Connection conn) throws ServerException;
	/**
	 * get room list
	 * @param form 
	 * @param user 
	 * @param conn
	 * @throws ServerException
	 */
	abstract public void makeGetRoomListSQL(CommonSearchForm form, LoginDTO user,
			Connection conn) throws ServerException;
	
	/**
	 * makeGetCustomerListSQL
	 * @param form
	 * @param user
	 * @param conn
	 * @throws ServerException
	 */
	abstract public void makeGetCustomerListSQL(CommonSearchForm form,
			LoginDTO user, Connection conn) throws ServerException;
}
